package shit;

import java.util.ArrayList;

public class TestArrayList {
    public static void main(String[] args) {
        ArrayList<Integer> aI = new ArrayList<>();
        aI.add(0, 3);
        aI.add(3);
        System.out.println(aI);
        System.out.println(aI.size());
        aI.trimToSize();
        System.out.println(aI.size());
    }
}
